package com.mmall.service;

import com.github.pagehelper.PageInfo;
import com.mmall.common.ServiceResponse;
import com.mmall.pojo.Shipping;

/**
 * Created by sc on 2017/9/5.
 */
public interface IShippingService {
    ServiceResponse add(Integer userId, Shipping shipping);

    ServiceResponse del(Integer userid, Integer shippingid);

    ServiceResponse update(Integer id, Shipping shipping);

    ServiceResponse select(Integer id, Integer shippingid);

    ServiceResponse<PageInfo> list(Integer id, Integer pagenum, Integer pagesize);
}
